<script type="text/javascript" src="includes/JsHttpRequest.js">
</script>
<script type="text/javascript">
var cX = 0;
var cY = 0;
var IE = false;
var FF = false;
var OP = false;
var timer = null;

if ( document.all && document.getElementById && !window.opera ) {
    IE = true;
}
if ( !document.all && document.getElementById && !window.opera ) {
    FF = true;
}
if ( document.all && document.getElementById && window.opera ) {
    OP = true;
}

function getMousePosition(e, id) {
	if(!e) var e = window.event;
	if (e.pageX || e.pageY) {
		cX = e.pageX;
		cY = e.pageY;
	}
	else if (e.clientX || e.clientY) {
		cX = e.clientX + document.documentElement.scrollLeft;
		cY = e.clientY + document.documentElement.scrollTop;
	}
	var div = document.getElementById(id);
	div.style.top = String(cY) + "px";
	div.style.left = String(cX+10) + "px";
	div.style.width = String(document.body.clientWidth - cX - 40) + "px";
	return { 'x' : cX, 'y' : cY };
}
</script>
